package com.ychen.usercenter.dao;

import com.ychen.usercenter.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoMapper {
    int deleteByPrimaryKey(Long id);

    // 测试用
    int deleteAll();

    int insert(UserInfo row);
    int batchInsert(List<UserInfo> list);

    int insertSelective(UserInfo row);

    UserInfo selectByPrimaryKey(Long id,Boolean... forUpdate);

    int updateByPrimaryKeySelective(UserInfo row);

    int updateByPrimaryKey(UserInfo row);
}